// Win32 utility functions
// Copyright 2006 (C) Ralph Thomas

#ifndef MISSION_TOOLKIT_WIN32_UTIL_H
#define MISSION_TOOLKIT_WIN32_UTIL_H

#include <string>

namespace toolkit {
	//
	/// Convert the given UTF-8 string into a wide character
	/// string.
	///
	/// \param	in	the UTF-8 string to convert.
	///
	/// \return	a wide character string.
	//
	std::wstring convert_utf( const std::string& in );
	//
	/// Convert the given wide character string into a UTF-8
	/// string.
	///
	/// \param	in	the wide character string to convert.
	///
	/// \return	a UTF-8 string.
	//
	std::string convert_utf( const std::wstring& in );
};

#endif
